﻿using System;
using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;
using HengTong.Model;

namespace HengTong.ViewModel.Hr.SysHrInterviewPoolVms
{
    public partial class SysHrInterviewPoolSearcher : BaseSearcher
    {
        // 录用候选池基本信息
        [Display(Name = "面试表")] public Guid? InterviewRequestBillId { get; set; }
        [Display(Name = "状态")] public HrStatus? HrStatus { get; set; }
        [Display(Name = "单据编号")] public string BillNo { get; set; }
        [Display(Name = "录用后工号")] public string HiredStaffNo { get; set; }

        // 个人基本信息搜索条件
        [Display(Name = "姓名")] public string Name { get; set; }
        [Display(Name = "工号")] public string StaffNo { get; set; }
        [Display(Name = "手机号")] public string Phone { get; set; }
        [Display(Name = "身份证号")] public string IdCardNo { get; set; }
        [Display(Name = "邮箱")] public string Email { get; set; }
        [Display(Name = "性别")] public Gender? Gender { get; set; }
        [Display(Name = "民族")] public Ethnicity? Ethnicity { get; set; }
        [Display(Name = "最高学历")] public EducationLevel? HighestEducation { get; set; }
        [Display(Name = "婚姻状况")] public MaritalStatus? MaritalStatus { get; set; }
        [Display(Name = "家庭住址")] public string HomeAddress { get; set; }
        [Display(Name = "户口所在地")] public string HouseholdRegistration { get; set; }
        [Display(Name = "籍贯")] public string NativePlace { get; set; }

        [Display(Name = "所属公司")] public Guid? OrgId { get; set; }

        // 年龄区间查询
        [Display(Name = "年龄开始")] public int? AgeStart { get; set; }
        [Display(Name = "年龄结束")] public int? AgeEnd { get; set; }

        // 工作相关搜索条件
        [Display(Name = "招聘发布单")] public Guid? RecruitPublishRequestBillId { get; set; }
        [Display(Name = "可到岗时间")] public DateRange ArrivalDate { get; set; }

        // 薪酬区间查询
        [Display(Name = "原薪酬开始")] public decimal? CurrentSalaryStart { get; set; }
        [Display(Name = "原薪酬结束")] public decimal? CurrentSalaryEnd { get; set; }
        [Display(Name = "期望薪酬开始")] public decimal? ExpectedSalaryStart { get; set; }
        [Display(Name = "期望薪酬结束")] public decimal? ExpectedSalaryEnd { get; set; }

        // 工作年限区间查询
        [Display(Name = "工作年限开始")] public decimal? WorkExperienceStart { get; set; }
        [Display(Name = "工作年限结束")] public decimal? WorkExperienceEnd { get; set; }

        protected override void InitVM()
        {
        }
    }
}